Search
LayoutBuilder.createAndAddPlotAndAxes Method
See Also
 






Creates a GridPanel containing the specified Plot and AxisRenderer-s. The panel is automatically added to the Dashboard's LayoutPanel.

Namespace: com.mindfusion.charting.swing
File: com.mindfusion.charting.swing

 Syntax

Java  Copy Code

public GridPanel createAndAddPlotAndAxes (
    Plot2D plot,
    XAxisRenderer[] top,
    YAxisRenderer[] left,
    XAxisRenderer[] bottom,
    YAxisRenderer[] right
)

 Parameters

plot

A Plot2D instance.

top

An array of XAxisRenderer components that should be placed at top side of the plot.

left

An array of YAxisRenderer components that should be placed at left side of the plot.

bottom

An array of XAxisRenderer components that should be placed at bottom side of the plot.

right

An array of YAxisRenderer components that should be placed at right side of the plot.

 Return Value

A GridPanel instance.

 See Also